let arr = [6, 8, 16, 7, 55, 26, 6, 4, 88, -3]
let res = Math.max(...arr) - Math.min(...arr)
console.log(res)
